<template>
  <a-table :dataSource="dataSource" :columns="columns" />


</template>


<script>

import {postAction} from '@/api/manage'
export default {
  components: {
    postAction,

  },

  data() {
    return {
      dataSource:[],
      columns: [
        {
          title: '姓名',
          dataIndex: 'name',
          key: 'name',
        },],


      url:{
        supplier:"supplier/getComboboxList"
      },
      searchForm:[]
    }
  },
  created() {
  postAction(this.url.supplier,this.searchForm).then((res)=>{
    //console.log(res)
    this.dataSource=res
  })

  },
  methods: {

  }
};
</script>
<style lang="scss">
</style>